package com.txts.road.app.message.service;

import com.txts.road.app.message.model.dto.QuickMessageDTO;
import com.txts.road.app.message.model.entity.QuickMessageEntity;
import com.baomidou.mybatisplus.extension.service.IService;
import com.txts.road.app.message.model.vo.QuickMessageVO;

import java.util.List;

/**
 * 快捷用语服务类
 *
 * @author baoyr
 * @since 2025-07-17 10:43
 */
public interface QuickMessageService extends IService<QuickMessageEntity> {


    /**
     * 获取快捷用语
     *
     * @return 快捷用语列表
     */
    List<QuickMessageVO> getQuickMessages();

    /**
     * 添加快捷用语
     *
     * @param addDTO 快捷用语表单对象
     * @return true 表示添加成功
     */
    Boolean addQuickMessage(QuickMessageDTO addDTO);

    /**
     * 删除快捷用语
     *
     * @param quickId 快捷用语ID
     * @return true 删除成功
     */
    Boolean deleteQuickMessage(Long quickId);

}
